package cn.wp.ewallet.wallet.model.entity;

import cn.wp.common.core.dao.annotation.Column;
import cn.wp.common.core.dao.annotation.Table;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @ClassName ExchangeProcInfoDo
 * @Author ruixule
 * @Description 兑换处理记录
 * @Date 2020/1/10 15:58
 */
@Data
@Table(value = "EXCHANGE_PROC_INFO",keys = "PROC_RECORD_ID")
public class ExchangeProcInfoDo {

    @Column("PROC_RECORD_ID")
    private String procRecordId;
    //兑换SHQC数量
    @Column("EXCHANGE_AMOUNT")
    private BigDecimal exchangeAmount;
    //兑换规约唯一标识
    @Column("CONVER_TYPE")
    private String converType;
    @Column("EXCHANGE_RATE")
    private String exchangeRate;

    public ExchangeProcInfoDo(String procRecordId, BigDecimal exchangeAmount,
                              String converType, String exchangeRate) {
        this.procRecordId = procRecordId;
        this.exchangeAmount = exchangeAmount;
        this.converType = converType;
        this.exchangeRate = exchangeRate;
    }
    public ExchangeProcInfoDo(){}

}
